<!doctype html>
<html>
<head>
    <meta http-equiv="content-type" content="text/html;charset=uft-8" />
    <meta name="viewport"   content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0" />
    <title>{$title}</title>
    <link href="/res/offer/mobadmin/css/common.css?vvv" rel="stylesheet" type="text/css" />
    <style>
        .baojiaList{ background:#fff;}
        .baojiaItem{ height: 1.826rem;line-height: 1.6rem;position: relative;color:#666;border-bottom: 1px solid #efefef;display: block;background: #fff;}
        .baojiaTxt{ margin-left:1.152rem;font-size:0.608rem; }
        .baojiaNub{ font-size:0.521rem;}
        .detailLink{ position: absolute;top:0rem;right: 0rem;padding-right:0.6rem;font-size:0.608rem;color:#2f8aff;line-height: 1.826rem;padding-left: 0.2rem;background: #fff;}
        .baojiaNub{ margin-left: 0.8rem;}
        .baojiaItem:before{
            position: absolute;
            top:0.76rem;left: 0.6rem;
            content:"";
            width:0.28rem;height: 0.28rem;
            overflow: hidden;
            background: url("") no-repeat;
            background-size: 100%;
        }
        
        .noRecord{ font-size: 0.608rem;height: 1.826rem;line-height: 1.826rem;color: #333;padding-left: 1rem; }
        
        
    </style>
</head>
<body>
    <div class="">
        <div class="commonTil">报价列表</div>
        <div class="commonTab">
            <table class="commonTable">
                <tr>
                    <td>
                        <a href="/mobadmin/offer/index?day=today" class="tabLink {if $day=='today'}curTabLink{/if}">今日报价</a>
                    </td>
                    <td>
                        <a href="/mobadmin/offer/index?day=yesterday" class="tabLink {if $day=='yesterday'}curTabLink{/if}">昨日报价</a>
                    </td>
                    <td>
                        <a href="/mobadmin/offer/index?day=b_yesterday" class="tabLink {if $day=='b_yesterday'}curTabLink{/if}">前天报价</a>
                    </td>
                </tr>
            </table>
        </div>
        <div class="blank30"></div>
        <div class="baojiaList">
            {if empty($items)}
               <div class="noRecord">{$noRecords}</div>
            {/if}
            {loop $items $value}

               <a  href="detail?offer_id={$value[id]}" class="baojiaItem">
                   <span class="baojiaTxt">{$value[title]}<span class="baojiaNub"><?php echo oHM($value[addtime])?>({$value['product_counts']}条)</span></span>
                   <span class="detailLink">详情</span>
               </a>
            {/loop}

        </div>
        <div class="botBtn">
            <a href="/mobadmin/offer/add">新增报价</a>
        </div>
    </div>
</body>
</html>
{include mobadmin.inc.statistics}
